﻿<Controls:MetroWindow  x:Class="Client.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:Controls="clr-namespace:MahApps.Metro.Controls;assembly=MahApps.Metro"
        xmlns:resources="mahapps"
                      Loaded="MetroWindow_Loaded_1"
        Title="SHARK MESSENGER" Height="800" Width="400" Background="#FFE0E0E0">
    <Window.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>

                <!--<ResourceDictionary Source="Icons.xaml" />-->
                <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Colours.xaml" />
                <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Fonts.xaml" />
                <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Controls.xaml" />
                <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Controls.AnimatedSingleRowTabControl.xaml" />
                <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Accents/Blue.xaml" />
                <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Accents/BaseLight.xaml" />
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>

    </Window.Resources>

    <Controls:MetroWindow.WindowCommands>
        <Controls:WindowCommands>
            <Button Content="About" Click="Button_Click_1" />
        </Controls:WindowCommands>
    </Controls:MetroWindow.WindowCommands>
    <Controls:MetroWindow.Flyouts>


        <Controls:Flyout Name="flyout"  Header="Settings" Background="#D95F5555" Position="Right" IsOpen="False"   Foreground="{x:Null}" MouseLeave="flyout_MouseLeave">
            <StackPanel >

                <WrapPanel Margin="30,15"  Width="220">

                    <TextBlock Foreground="White" FontSize="16" TextWrapping="Wrap" >Designed and developed by :</TextBlock>
                    <TextBlock Foreground="White" FontSize="16" TextWrapping="Wrap" Margin="0,15,0,0" >Roozbeh Ketabi, Arman Shahbazian</TextBlock>
                    <!--<ComboBox Width="100" Height="25" VerticalContentAlignment="Center" SelectedIndex="0"   SelectionChanged="ComboBox_SelectionChanged_1">
                        <ComboBoxItem Content="Blue"/>
                        <ComboBoxItem Content="Red" />
                        <ComboBoxItem Content="Green"/>
                        <ComboBoxItem Content="Purple"/>
                        <ComboBoxItem Content="Orange"/>
                    </ComboBox>-->

                </WrapPanel>
            </StackPanel>

        </Controls:Flyout>
    </Controls:MetroWindow.Flyouts>
    <Controls:MetroContentControl>
        <Grid>
            <Frame Name="myFrame" Content="Frame" HorizontalAlignment="Stretch"  Margin="10,10,0,0" VerticalAlignment="Stretch" Initialized="Frame_Initialized_1" NavigationUIVisibility="Hidden"/>
        </Grid>
    </Controls:MetroContentControl>
</Controls:MetroWindow>
